package com.example.firstboot.service;

import com.example.firstboot.entity.TbHistory;
import com.example.firstboot.entity.selectPAndD;

import java.util.List;

public interface TbHistoryService {
    List<TbHistory> findAllHistory();
    List<TbHistory> findHistoryByAccount(String account);
    List<TbHistory> findHistoryByPAccount(String paccount);
    List<selectPAndD> selectPAndD(String daccount);
    List<TbHistory> searchHistory(String illness_description);

    int saveHistorys(TbHistory tbHistory);
    int updateHistorys(TbHistory tbHistory);
}
